/*var*/

:root {
    --primary: #284b64;
    --smheight: 2.5vw;
    /*color-scheme: dark;*/
}

/*fonts*/
@font-face {
    font-family:'Ubuntu';
    font-weight: lighter;
    src: url(fonts/Ubuntu/Ubuntu-Light.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family:'Ubuntu';
    font-weight: normal;
    src: url(fonts/Ubuntu/Ubuntu-Medium.woff2) format('woff2');
    font-display: swap;
}

@font-face {
    font-family:'Ubuntu';
    font-weight: bold;
    src: url(fonts/Ubuntu/Ubuntu-Bold.woff2) format('woff2');
    font-display: swap;
}

/*classes*/

body{
    font-family: 'Ubuntu', sans-serif;
    padding: 2vh 5vw;
}
.header{
    margin: 0vw auto;
    display: flex;
    align-items: top;
    justify-content: space-between;
    padding-bottom: 8vh;
}

.logo{
    margin-top: 1vh;
}

h1{
    font-size: 2.5vw;
}
h1.logo1{
    color: #000000;
    font-weight: lighter;
    letter-spacing: 0.07vw;
    display:inline;
}
h1.logo1#dot{
    font-weight: bold;
    margin-left: -0.075vh;
}
h1.logo2{
    color: var(--primary);
    font-weight: bold;
    margin-top: 0vh;
}

.smicons{
    display: flex;
    justify-content: space-between;
    width: 12vw;
}
.smicon_container{
    width: calc(var(--smheight) * 1.2);
    height: calc(var(--smheight) * 1.2);
    
}

.smimage {
    height: var(--smheight);
    transition: 0.5s;
}
/*
footer::before,
footer::after{  
    content: "";
    display: block;
    width: 100%;
    height: 150%;
    background-color: #F4F4F4;
    position: absolute;
    top: 0;
}

footer::before{
    left: 0;
    transform: translateX(-100%);
}

footer::after{
    right: 0;
    transform: translateX(100%);
}
*/
footer{
    padding: 0vh 6vw;
    padding-top: 12vh;
    margin: 0vh -5.5vw;
    margin-bottom: -3vh;
    height: 15vh;
    background-color: #F4F4F4;
    font-size: 1.0vw;
    color: #707070;
    position: relative;
    z-index: 98;
    overflow: hidden;
}

.footer_top{
    padding-bottom: 0vw;
    height: 10vh;
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.footer_links{
    margin-right: 45vw;
    height: 2vh;
    text-align: top;
}

.footer_links a{
    color: #707070;
    text-decoration: none;
    margin: 0vh 1.5vw;
    padding-bottom: 2px;
    border-radius: 0vw;
    transition: 0.5s;
}

.footer_bottom p{
    margin: auto;
    width: 50%;
    text-align: center;
}

@media screen and (orientation:landscape){
    .menu{
        display: block;
        margin-top: 0.5vw;
    }

    .menu a{
        font-size: 1.5vw;
        color: #000000;
        text-decoration: none;
        margin-left: 1.5vw;
        padding-bottom: 2px;
        border-radius: 0vw;
        transition: 0.5s;
    }

    .menu a.is-active, .menu a:hover{
        text-decoration: underline;
        text-decoration-thickness: 0.4vh;
        text-underline-offset: 0.5vh;
        text-decoration-color: var(--primary);
    }
    .hamburger{
        display: none;
    }

    .mobile-nav{
        display: none;
    }

    .sub-nav{
        display: none;
    }

    .smimage:hover{
        height: calc(var(--smheight) * 1.2);
        width: auto;
        margin-top: auto;
        margin-bottom: auto;
    }
    
    .footer_links a:hover{
        text-decoration: underline;
        text-decoration-thickness: 0.4vh;
        text-underline-offset: 0.5vh;
        text-decoration-color: var(--primary);
    }
}


@media screen and (orientation:portrait){
    body{
        padding: 0vh 4vw;
    }
    .header{
        padding-bottom: 4vh;
    }
    h1.logo1{
        letter-spacing: 0.12vw;
    }
    h1.logo2{
        margin-top: -0.5vh;
    }

    h1{
        font-size: 5vw;
    }
    .menu{
        display: none;
    }
    .hamburger{
        display: block;
        position: relative;
        z-index: 1;
        user-select: none;
        appearance: none;
        border: none;
        outline: none;
        background: none;
        cursor: pointer;
    }

    .hamburger span{
        display: block;
        width: 20px;
        height: 3px;
        margin-top: 5px;
        position: relative;
        background-color: var(--primary);
        border-radius: 6px;
        z-index: 1;
        transform-origin: 0 0;
        transition: 0.3s;
    }
    
    .hamburger.is-active span:nth-child(1){
        transform: translate(0px,5px) rotate(45deg);
    }
    
    .hamburger.is-active span:nth-child(2){
        opacity: 0;
    }
    
    .hamburger.is-active span:nth-child(3){
        transform: translate(-3px,3px) rotate(-45deg);
    }
    
    .mobile-nav a.is-active, .mobile-nav a:hover{
        text-decoration: underline;
        text-decoration-thickness: 0.1vh;
        text-underline-offset: 4px;
        text-decoration-color: var(--primary);
    }

    .mobile-nav{
        padding-left: 6vw;
        margin-top: 10vh;
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100%;
        min-height: 30vh;
        display: block;
        z-index: 100;
        transition: 0.8s;
        background-color: white;
    }
    
    .mobile-nav.is-active{
        left: 0%
    }
    
    .mobile-nav a{
        padding: 1vh 0vw;
        margin: 1vh 0vw;
        display: block;
        width: 100%;
        text-align: left;
        color:#000000;
        text-decoration: none;
        font-size: 8vw;
        font-weight: bold;
    } 

    .sub{
        padding: 1vh 0vw;
        margin: 1vh 0vw;
        font-size: 8vw;
        font-weight: bold;
        text-align: left;
    }    

    .sub-nav{
        padding-left: 6vw;
        margin-top: 0vh;
        left: 100%;
        width: 100%;
        position: fixed;
        transition: 0.8s;
        z-index: 98;
        background-color: white;
    }

    .sub-nav.is-active{
        margin-top: 0vh;
        left: 0%;
        z-index: 98;
        border-radius: 10px;
    }

    .sub-nav a{
        margin: 1vh 0vw;
        display: block;
        width: 100%;
        text-align: left;
        color:#000000;
        text-decoration: none;
        font-size: 6vw;
        font-weight: bold;
    }

    footer{
        padding-top: 2vh;
        height: 6vh;
        font-size: 2.0vw;
    }

    .footer_top{
        padding-bottom: 0vw;
        height: 4vh;
    }

    .footer_links{
        margin-right: 7.5vw;
        height: 1vh;
        text-align: top;
    }
    .smicons{
        width: 28vw;
    }
    .smicon_container{
        width: calc(var(--smheight) * 2.5);
        height: calc(var(--smheight) * 2.5);  
    }

    .smimage {
        height: calc(var(--smheight) * 2.5);
    }
    .smimage:hover{
        height: calc(var(--smheight) * 2.5);
    }
}